$(function(){
	//轮播
	var swiper = new Swiper('.swiper-container', {
		autoplay: 3000,
		autoplayDisableOnInteraction : false,
        pagination: '.swiper-pagination',
        paginationClickable: true,
        /*onAutoplay: function(swiper){
        	$('.zh_art_bannerInfo p').text(swiper.activeIndex+'孕妇腹泻多是饮食因素试试水果止泻法')
		},
		onSlideChangeStart: function(swiper){
	      $('.zh_art_bannerInfo p').text(swiper.activeIndex+'孕妇腹泻多是饮食因素试试水果止泻法')
	    }*/
    });


   

    $('.zh_art_tab01 li').on('click',function(){
    	$(this).siblings('li').find('span').removeClass('zh_art_tab01Current');
    	$(this).find('span').addClass('zh_art_tab01Current');
    });

    var swiperArtical1 = new Swiper('.zh_swiper_artical1', {
        autoplayDisableOnInteraction : false,
        pagination: '.swiper-pagination',
        paginationClickable: true,
    });
    var articalBullet1 = $('.zh_swiper_artical1 .swiper-pagination-bullet'),
        articalArr1 = ['八卦','男性','女性'];
    for(var i=0,l=articalBullet1.length;i<l;i++){
        articalBullet1.eq(i).text(articalArr1[i]);
    };
    var swiperArtical2 = new Swiper('.zh_swiper_artical2', {
        autoplayDisableOnInteraction : false,
        pagination: '.swiper-pagination',
        paginationClickable: true,
    });
    var articalBullet2 = $('.zh_swiper_artical2 .swiper-pagination-bullet'),
        articalArr2 = ['育儿','老人','养生'];
    for(var i=0,l=articalBullet2.length;i<l;i++){
        articalBullet2.eq(i).text(articalArr2[i]);
    };
















})